﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QuanLyNhaSach.Report;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;

namespace QuanLyNhaSach.Report
{
    public partial class frm_In_HDBS : Form
    {
        public frm_In_HDBS()
        {
            InitializeComponent();
        }

        public string mahdbs = "";
        private void frm_In_HDBS_Load(object sender, EventArgs e)
        {
            if (mahdbs != "")
            {
                In_HoaDonBanSi hdbs = new In_HoaDonBanSi();
                hdbs.SetParameterValue("MaHD", mahdbs);
                rp_HDBS.ReportSource = hdbs;
                rp_HDBS.Refresh();
            }
            else
            {
                MessageBox.Show("Không tìm thấy mã hóa đơn!!!");
            }
        }
    }
}
